package com.joplus.housekeeper.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * author： ccm
 * time： 2017/7/4.
 * description：
 */

public  class StoredOrderDetail implements Parcelable {
    String color;
    String model;
    String size;
    String year;
    String material;
    String budget;
    String note;
    String deliveryTime;
    String productId;
    String chateau;
    String brut;
    String productionPlace;
    String indicativePrice;

    public String getIndicativePrice() {
        return indicativePrice;
    }

    public void setIndicativePrice(String indicativePrice) {
        this.indicativePrice = indicativePrice;
    }

    public String getChateau() {
        return chateau;
    }

    public void setChateau(String chateau) {
        this.chateau = chateau;
    }

    public String getBrut() {
        return brut;
    }

    public void setBrut(String brut) {
        this.brut = brut;
    }

    public String getProductionPlace() {
        return productionPlace;
    }

    public void setProductionPlace(String productionPlace) {
        this.productionPlace = productionPlace;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getBudget() {
        return budget;
    }

    public void setBudget(String budget) {
        this.budget = budget;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.color);
        dest.writeString(this.model);
        dest.writeString(this.size);
        dest.writeString(this.year);
        dest.writeString(this.material);
        dest.writeString(this.budget);
        dest.writeString(this.note);
        dest.writeString(this.deliveryTime);
        dest.writeString(this.productId);
        dest.writeString(this.chateau);
        dest.writeString(this.brut);
        dest.writeString(this.productionPlace);
        dest.writeString(this.indicativePrice);

    }

    public StoredOrderDetail() {
    }

    protected StoredOrderDetail(Parcel in) {
        this.color = in.readString();
        this.model = in.readString();
        this.size = in.readString();
        this.year = in.readString();
        this.material = in.readString();
        this.budget = in.readString();
        this.note = in.readString();
        this.deliveryTime = in.readString();
        this.productId = in.readString();
        this.chateau = in.readString();
        this.brut = in.readString();
        this.productionPlace = in.readString();
        this.indicativePrice = in.readString();

    }


    public static final Creator<StoredOrderDetail> CREATOR = new Creator<StoredOrderDetail>() {
        @Override
        public StoredOrderDetail createFromParcel(Parcel source) {
            return new StoredOrderDetail(source);
        }

        @Override
        public StoredOrderDetail[] newArray(int size) {
            return new StoredOrderDetail[size];
        }
    };
}